//
//  CacheDaoForComment.h
//  GolfFriend
//
//  Created by Vescky on 14-3-1.
//  Copyright (c) 2014年 vescky.org. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BaseDao.h"
#import "DB.h"

@interface CacheDaoForComment : BaseDao {
    
}

+ (id)shareCacheDaoForComment;

// -- userId
// -- type:news,circle,stadium
// -- recordId
// -- content
- (bool)saveCommentInfo:(NSDictionary*)dict;
- (bool)saveComments:(NSMutableArray*)cArr;

// -- userId
// -- type:news,circle,stadium
// -- recordId
- (bool)getComments:(NSDictionary*)dict limitRange:(NSRange)lRange;

- (bool)deleteCommentsByUserId:(NSString*)userId;

- (bool)cleanAllComments;

@end
